package com.lacia.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author 万里花
 * @date 2025/8/7 15:10
 */
public class DateUtils {
    public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";

    public static String formatDate(Date date) {
        return new SimpleDateFormat(DEFAULT_DATE_FORMAT).format(date);
    }
}
